﻿<%@ Page Language="C#" MasterPageFile="~/Admin/Admin.master" AutoEventWireup="true" CodeFile="adm_stats_articles.aspx.cs" Inherits="Admin_adm_stats_articles" Title="Untitled Page" %>

<%@ Register src="UserControls/AdminPaging.ascx" tagname="AdminPaging" tagprefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
<div style="padding:15px;">
<div>
<h3><asp:Literal ID="ltrTitle" runat="server"></asp:Literal></h3>
</div>
<div><asp:Literal ID="ltrUserAdmin" runat="server"></asp:Literal></div>
								<div>
								
								<table cellspacing="0" cellpadding="0" border="0">
								<tbody><tr>
									<td>Period:&nbsp;</td>
									<td>
										<asp:DropDownList ID="ddlPeriodYear" runat="server" CssClass="frmSort" 
                                            Width="100px">
                                        </asp:DropDownList>
                                        &nbsp;</td>
									<td>
									    <asp:DropDownList ID="ddlPeriodMonth" runat="server" CssClass="frmSort" 
                                            Width="100px">
                                            <asp:ListItem Value="01">January</asp:ListItem>
                                            <asp:ListItem Value="02">February</asp:ListItem>
                                            <asp:ListItem Value="03">March</asp:ListItem>
                                            <asp:ListItem Value="04">April</asp:ListItem>
                                            <asp:ListItem Value="05">May</asp:ListItem>
                                            <asp:ListItem Value="06">June</asp:ListItem>
                                            <asp:ListItem Value="07">July</asp:ListItem>
                                            <asp:ListItem Value="08">August</asp:ListItem>
                                            <asp:ListItem Value="09">September</asp:ListItem>
                                            <asp:ListItem Value="10">October</asp:ListItem>
                                            <asp:ListItem Value="11">November</asp:ListItem>
                                            <asp:ListItem Value="12">December</asp:ListItem>
                                        </asp:DropDownList>
                                        &nbsp;</td>
									<td><img height="1" width="50" src="../hinh-thoi-trang/de_clear.gif"/></td>
									<td>Ranked By:&nbsp;</td>
									<td><asp:DropDownList ID="ddlSortBy" runat="server" CssClass="frmSort" 
                                            Width="100px">
                                        <asp:ListItem>Score</asp:ListItem>
                                        <asp:ListItem Value="S.Rate">Number of rating</asp:ListItem>
                                        <asp:ListItem Value="S.RatingAvg">Rating average</asp:ListItem>
                                        <asp:ListItem Value="S.Emailed">Number of email</asp:ListItem>
                                        <asp:ListItem Value="S.SavedLike">Number of saved like</asp:ListItem>
                                        <asp:ListItem Value="S.SavedBuy">Number of saved buy</asp:ListItem>
                                        <asp:ListItem Value="SaveTotal">Total saved</asp:ListItem>
                                        </asp:DropDownList>
									</td>
									<td>&nbsp;&nbsp;Top<asp:TextBox ID="txtSelectTop" runat="server" CssClass="frmSort" 
                                            Width="100px">50</asp:TextBox>
                                        &nbsp;</td>
									<td valign="top">
                                        <asp:Button ID="btnGo" runat="server" CssClass="btnGo" Text="Go" 
                                            onclick="btnGo_Click" />
                                    </td>
								</tr>
								<tr>
									<td>From:&nbsp;</td>
									<td><asp:DropDownList ID="ddlFromYear" runat="server" CssClass="frmSort" 
                                            Width="100px">
                                        </asp:DropDownList>
									</td>
									<td><asp:DropDownList ID="ddlFromMonth" runat="server" CssClass="frmSort" 
                                            Width="100px">
									        <asp:ListItem Value=""></asp:ListItem>
									        <asp:ListItem Value="01">January</asp:ListItem>
                                            <asp:ListItem Value="02">February</asp:ListItem>
                                            <asp:ListItem Value="03">March</asp:ListItem>
                                            <asp:ListItem Value="04">April</asp:ListItem>
                                            <asp:ListItem Value="05">May</asp:ListItem>
                                            <asp:ListItem Value="06">June</asp:ListItem>
                                            <asp:ListItem Value="07">July</asp:ListItem>
                                            <asp:ListItem Value="08">August</asp:ListItem>
                                            <asp:ListItem Value="09">September</asp:ListItem>
                                            <asp:ListItem Value="10">October</asp:ListItem>
                                            <asp:ListItem Value="11">November</asp:ListItem>
                                            <asp:ListItem Value="12">December</asp:ListItem>
                                        </asp:DropDownList>
									</td>		
									<td><img height="1" width="50" src="../hinh-thoi-trang/de_clear.gif"/></td>							
									<td>Order:&nbsp;</td>
									<td colspan="3">
                                        <asp:DropDownList ID="ddlOrderBy" runat="server" CssClass="frmSort" 
                                            Width="100px">
                                            <asp:ListItem Value="Desc">Top</asp:ListItem>
                                            <asp:ListItem Value="Asc">Bottom</asp:ListItem>
                                        </asp:DropDownList>
                                        &nbsp;</td>										
								</tr>		
								</tbody></table>
								
								</div>
								<div>
								<div  style="text-align:right; padding-right:15px;>
								<table style="width:100%">
								    <tr>
								        <td>
                                    <uc1:AdminPaging ID="AdminPaging1" runat="server" />
                                    <asp:Literal ID='ltrCurrentPage' runat='server' Visible='false'></asp:Literal></td>
								        <td><asp:Literal ID='ltrPaging' runat='server'></asp:Literal></td>
								    </tr>
								</table>
								    
								</div>
								<div style="vertical-align:top;">
								    <asp:DataList ID="DataList1" runat="server" RepeatColumns="3"  HorizontalAlign='Center'
                                        RepeatDirection="Horizontal" Width="510px" BackColor="#F7F6BD" ItemStyle-VerticalAlign='Top' CellPadding="5">
								    <ItemTemplate>
								        <table style='width:152px; padding:15px; ' align='center'>
								        <tr><td style=' width:150px; height:150px; vertical-align:top; text-align:center;'>
    								    
										    <a class="lsTitle2" href="../detail.aspx?aid=<%# Eval("DocID") %>&ckid=<%# getCKID() %>">
										    <img border="0" style=" width:150px; height:150px;" 
										    src='../<%# DetailImage(Eval("DocID"), Eval("kTitle"), Eval("fYear"), Eval("ImageNo"))%>' />		
										    </a>
    									
									    </td></tr>
									    <tr><td  class="lsTD">
									    <a class="lsTitle2" href="../detail.aspx?aid=<%# Eval("DocID") %>&ckid=<%# getCKID() %>">											
										    <%# Eval("uTitle") %></a>
									    </td></tr>
								        </table>
								        
								    </ItemTemplate>
                                        <ItemStyle VerticalAlign="Top" HorizontalAlign='Center'  />
                                        
                                    </asp:DataList>
								</div>
								</div>
								<div style="text-align:right; padding-right:15px;">
								    <uc1:AdminPaging ID="AdminPaging2" runat="server" />
								    <asp:Literal ID='ltrPagingBot' runat='server' Visible='false'/>
								</div>
</div>
</asp:Content>

